fix parent in raw data