fix eslint errors