fixed error in resolver