fixed a prompt output error