fixed problem which happens when MeshMaker is used multiple times.