corrected ggh bug