Fixed blank lines causing exceptions