fixing "not stat