add some utils
fix