fix unit64 type conversion. closes #2