solve dependencies