adding post back since we cannot emit after headers sent