change undefined in categories n2