Make getIOFrame return size