fixed object orientation

detection of several objects at the same time
not needed in header