fixed bug in cycle homing
fixed bug in homing where state was pulled from wrong model