fixing bracket issue