Fixed some bracket errors