fix formatting in closing