fixed order of initializing modules