fixed object orientation

detection of several objects at the same time
typo: distance