fix a bug.

'q' child-command in new() failed from the 2nd time