fix for .sql deletions