fixing dependency errors