fixing parent assignment in DataMap