fixing ioerror in the frozen app