remove runtime dependency on `util` module; fix error messages (#5, #7)