fix changing branch and adding dependencies