I had to add this define statement at the top of the page to make it work.