fix issue where #'namespace throws NPE