fixed a prompt bug