You probably have a non-Unix newline character somewhere. Run the .top file through dos2unix and try again.
Referring from links here.