Remove unwanted blank lines