fix some unwanted delete