fix namespaced errors