Remove unnecessary strings