added root back to categoryelement, #465