fixed object orientation

detection of several objects at the same time
keep those lines