clean up empty newlines