Deletion bug fixed