fixed invalid character at the start of the file, leading to a headers already sent error