Fixed error when no resources,nodes,errors where present