* almost fixed a bug where repeating tasks would fire only once