erase button functional