fix errata, that produced global object