made the vision code not crash (at least as fast)
3 files changed