Fixed NPE when using chd_target