wrong property in switch viewhelper