adding simple guard to debug output