changes to video settings wont save after i set them

When i log in to garrys mod the game is really slow until i set the game to my computers default resolution. but whenever i exit the game and come back the game is using the previous settings. why wont it stay?