fix error with namespace