changing end to last post