fix error "Unexpected token }"