fix null pointer on child run