replace util.inherits with inherits