fixing bug parent child backwards mapping prevention