reg closure fix