changed checking availability limit up to 1000