bugfix - cannot create root object