fixed repeat tasks

fixed the multiple chat prints

added back default time value