fix syntax error, fix system stat format