fixed enum namespacing errors