fixing dependencies scopes