VS compiling issue fixed