fixed msvc warning attempt 2