add missing trim