Fix bugs with hd, tl, and eval