Call "resolve" correctly