take out some unnecessary strings