remove unneeded variable iodir_register