fixed clear all and delete