Fixed program crashing on 64-bit
...