fix prompt input where any non alpha characters was causign a crash