fixing closure