Correct string trim