escape prompt on empty reponse
minor fixes