resolve cannot be set bug