Analysis and correction of problems