Cast prompt to text before assigining.