add validation for limit field