fix precedence issue