fix } closure