corrected for pio data path