fixed reverse labelling of simple/complex