changed posts helper to fix tagging feature