fix eslint errors
fix syntax error