remove empty line at end