fixed dependencies and some lint errors