fix setting for automatic running when interval = 0