checked the namespace before adding module