auto delete trailing whitespace