remove not needed line breaks
remove empty line on end of file