fix constructor in Class Namespacing