fixed object orientation

detection of several objects at the same time
delete that line