fixed resolve nodes/edges to handle null namespace