Fixed Error in Text Assignment