some fixes for debug-log more informative;