refactor utils
fix vt code