fix invalid attachParent op.

Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>