fixed err, full path file name