fix tasks error reference