fixed debug messages for sinks