correct bug on stat