Fix some lint errors, run lint automatically