relax the scan query