solve dependency problem