fix typo in resolve

thanks @crakalakin