fix orientation, rollback chr match regex