Fix use of non existing ->getIO() function
Merge pull request #3389 from andrerom/undefied_getio_fn

Fix use of non existing ->getIO() function