fix bug in namespace