minor fixes in HOL