small fix in stat