Fix bug in kronos application