removed white spaces in end of lines