resolve issue with undeclared module constants