diagnose and correct system problems