fix stat usage

Change-Id: Iab3290adca1602a23fc407d2b3f50b9aeac60389