Removed trailing whitespaces and ^G symbols