fix bug about leonardo and HOL usage