fix bug with outlineview and multiple classes