fix sink logging