The bug with the TV-foo-ON-bar is that they are simply returning the value of the last operation done, which is apparently illegal. Sticking a T at the end of the function makes them work fine.