enhenced debug message
added consume_record