GPII-116: fixed an error in module loader.