fix readid file fail bug (caused by readonly file)