improve scan int