Fixing missing bracket issue