fixed potential stuck holdtype on clear