delete bad query