Fixed trailing bracket issue