Fix bug with completion message and redirect prompt