fix packages dependencies