fixed dependencies by putting them in scope