Fix ending.