dmstat fixed a bug