Error when changing the output type of Get Text

When changing the output of Get Text activity, from an argument to a Variable type, program says the output is invalid LValue argument. If i create the same new activity with the variable as output from the start, no problem.