fixed iteration through sink function calls