fix NPE in propagation context