fix for the case when module.config function is missing