fix namespace error

fixed a problem with namespaces