fixed 'NoSuchFile' exception