fix reading patch sequence
fix reading patch sequence
fix typo