import patch data and test, fix match issue