Fix the issue with alt parents in memory