fixed the local check bug that () dont match, fixed #1 and fixed #14