refactor(utils): minor refactor