Fixed bug where there was garbage in the prompt