bugfix delete query set