removing stray chars