fix Segmentation fault on x64 O_o 2