fix half cyclic reference