fix unexpected token issue