es6 module pointer detection fix