fix typo and create task folder if not exist