fix node v.10 compat