fixes longpoll for the moment