fixed deplayed prompt bug