Bugfix for application restarted.