Fix the error handling of reading matrix mapping
Fix a serious bug that init of i/o expander freeze sometimes