Fixed eslint errors