Fix the bug in parents' resolution.