fixed #80 Wronge state on startup