typo and trim