set custom namespace with namespace_manager hook