long polling fix