Added a pop-up message box when failed to read custom matrix