fixed response bug for WriteSingleRegister