r293: bugfix - wrong RG type in SAM output