fixed issues with parseAtlasDefinition