small fix: initialize modules AFTER logging