fixing dependencies loading