Fix missing bracket in else