Fixed duplicate tasks at loading.