bug fix for namepsace