Remove errant characters