Delete improper strings