fix: correct parent resolution behavior