fixing trailing whitespaces