fixing some error in the n.m.server package stuff (still partly broken)