fix longpoll transport; start with app template