fixed issue where all model parameters were set as required