change height unit from u-int to CGFloat