fixing wrong namespace resolution