fixed ending order