fixed null argv bug in handler
fixed child pattern argument handling