fixed bug causing infinit away prompt