Fixed scope of `util` variable