Coherent errors and readout errors in surface code