remove stray characters