Fixed 64-bit long bug