repaired posts helper file