fixed x86-64 warnings