fixed setting variables by controller message