adding XXX to err msg.