Fixing dependency errors