fix common_parent call