remove some util functions