remove prompt characters