Fixed bug with dumping IO variables