Fixed crash in childmodule.