various fixes: msvc, wrong hex in tab, ...