fix unexpected token error