Fixed some dependancies that were causing problems