fixed a bug in logbot stats