fixing task decorator injection.