small fixes to cls.href