possible workaround for es5, see #38