Fix exit command line prompts does not work