Fixed typos and potential issues with gm 1