correct the end message