(fix) correct linting errors on amazon