fix some warnings
made it 64bit