Fix problem regarding relative path of parent.