Fixed nested task error