It works for me. Probably left out a } in the original code.