fixed application start bug
Merge pull request #1 from redink/master

application start bug