fixed some prompt bug