resolve dependency