fixed poll and cors again