Fixed some bracket mistakes