updated some utils