fix msvc compile error,C2275,C2065