Fixed formatting in renewal functions