delete illegal format