Fixed typo in annotation and in resolver