Fix loading task fails