fixed a compiler error not caught by VS2012...