just remove trailing whitespaces