changed mpu error handling