fix small stats bug