get depedencies right