correcting an issue in notify child logic