fixed not erasing issue