Fix trailing whitespaces problem