typo error in event_beforeCreateChild