min and max age accept only numbers