Fixed bracket typo in main task