fixed syntax error missed by vc++