bug fixes ObjectAvoid