fix parent setting