fixing prompt issue