fix for deleting quotes