Fixed trailing whitespaces not automatically detected