fixed delete operation