fixed some gcsg issues and a typo