fix for delete_field check