Fixing extra bracket issue