Enabled cache ioflag. Fixed data_pointer creation.