Fixed bracket precedence issue