bug fixing for SC_CIO