update to apply logic resolved issue of getProblems