fixed status and prompt bug