added required and enable to problem type and problem