fix debug infofor bat plugin