fix error with using the wrong namespace in variable name