fixed some dependency errors