stack reg fixes