fix a bunch of lint errors