Parent item link appears in the right place

Merge #213 first.