bugfix start_polling() -> main()