Move trims in parser