fixed homing bug