only set parent if localisation exist