fixed object orientation

detection of several objects at the same time
do we need those ? It seems you used them for debug ?