corrected a bunch of lint errors