fixed a bug in i file type