fixed infinite loop of help command