Fix GM number bug