fixing bad dependancies