Bug

Error logic for the "delete is null"