Fixed namespaced define issue