fix hint/lint errors