fix(client) loadModule: path change to wrong after fail loading