fix prompt issue