don't set up module config if module is not actually loaded