fix a bug in .mergeGS. #2