query for current stats, fix #57