correct modification of nah error