utils: fix minor bug.