to many arguments to function

I had myself confused that ON was a #define. More coffee...

-br