You need to make sure that there are no whitespace before the output. Double check your required files and see if there are any whitespace or newlines.