Fixed error on watch task