apoc posted a "fix" and I didn't know exactly if he meant run the code as a .cs file by itself, or replace the original (at the top of the .cs) with his code. so i deleted the post