correct { } to [ ]