fixed query when not FETCH_SPECIAL