fix limit of input