fix debug output filter