fixed deletebug in querysettingswindow