Error detection modified