fixed problems with "Required" param