fixed msvc warnings in backend