input for pagesize to number type.