adjust th/uh by kernel version