closure fix