- made some changes to util, but NaN still not fixed in transform