some util tools