fixed bug in ObjectWrapper-based navigation.py