fixed a bunch of lint errors