fixed level attrribute by not creating a reference to object