removed optional dependencies too