Solved 'stat' issue