fixed repeat tasks