A simplest check for resolve method. Fix a lot of typos