change default loading module to constant