Fixed minor serialIO implementation bug