wasn't deleting correctly