reverting to previous state of post