add check method name and fix bug
Merge pull request #6 from MrPhantomT/master

add check method name and fix bug