fix the quit command

Change-Id: Ie710f4654bdbb52bcc02cd46d2b205db2f4c055a