resolve dependency problems