Wrong quote in anonymous function