It's because your page has a lot of blank lines in the code. Just put a check to only echo if != $null.