Fixed a bug that using uninitialized value for read group ID.