write_s() and read_us() methods fixed