added default main control and solved pollter problems