prepare for post