Fix for deleting