Removing redundant newline