some fixes require config and require module definition