all working except write (read?) of non-8-bit ints. seemed to work before, but now fails in test app