fix lot info query