fix disappearing prompt