generate guid when saving gs. #8