solving issue with posting data in the polling mech