add some utils codes