Fix typo in resolve method