Cleanup empty last line