silence logging when debug is 0
fix
various