allowstatic keyvalue works for first model but not the second

EDIT: Apparently I have to recompile the model with a different name. Kind of annoying but it works. You can delete this thread I guess.

I’m recompiling two of the crate models with the allowstatic keyvalue.
The first crate works properly and is usable as a static prop.
The second one does not have the allowstatic keyvalue in the model viewer even though it’s in the qc and was compiled.

First working model qc



$cd "C:\models\wood_crate001a"
$modelname "props_junk\wood_crate001a.mdl"
$staticprop
$model "Body" "wood_crate001a_reference.smd"
$lod 200
{
  replacemodel "wood_crate001a_reference" "lod1_wood_crate001a_reference"
}
$cdmaterials "models\props_junk/"
$texturegroup skinfamilies
{
	{ "woodcrates01a.vmt" }
	{ "WoodCrates02a.vmt" }
}
$hboxset "default"
$hbox 0 "static_prop" -19.982  -20.084  -20.011  20.231  20.084  20.011
// Model uses material "woodcrates01a.vmt"
// Model uses material "WoodCrates02a.vmt"
$surfaceprop "Wood_Crate"
$keyvalues  
{ 
	prop_data
	{
		"base" "Wooden.Medium" 
		"allowstatic" "1"
	}
} 
$illumposition 0.125 0.000 0.000
$sequence idle "idle" fps 30.00
$collisionmodel "phymodel.smd" {

	$concave
	$mass 30.0
	$inertia 1.00
	$damping 0.00
	$rotdamping 0.00
}
$collisiontext {
	break { "model" "props_junk/wood_crate001a_chunk01" "fadetime" "20"}
	break { "model" "props_junk/wood_crate001a_chunk02" "fadetime" "20"}
	break { "model" "props_junk/wood_crate001a_chunk03" "fadetime" "20"}
	break { "model" "props_junk/wood_crate001a_chunk04" "fadetime" "20"}
	break { "model" "props_junk/wood_crate001a_chunk05" "fadetime" "20"}
	break { "model" "props_junk/wood_crate001a_chunk07" "fadetime" "20"}
	break { "model" "props_junk/wood_crate001a_chunk09" "fadetime" "20"}
}


Not working model:



$cd "C:\models\wood_crate002a"
$modelname "props_junk\wood_crate002a.mdl"
$staticprop
$model "Body" "wood_crate002a_reference.smd"
$lod 230
{
  replacemodel "wood_crate002a_reference" "lod1_wood_crate002a_reference"
}
$cdmaterials "models\props_junk/"
$texturegroup skinfamilies
{
	{ "woodcrates01a.vmt" }
	{ "WoodCrates02a.vmt" }
}
$hboxset "default"
$hbox 0 "static_prop" -20.138  -33.902  -20.084  20.287  33.902  20.084
// Model uses material "woodcrates01a.vmt"
// Model uses material "WoodCrates02a.vmt"
$surfaceprop "Wood_Crate"
$keyvalues  
{ 
	prop_data
	{
		"base" "Wooden.Large" 
		"allowstatic" "1"
	}
} 
$illumposition 0.075 0.000 -0.000
$sequence idle "idle" fps 30.00
$collisionmodel "phymodel.smd" {

	$concave
	$mass 60.0
	$inertia 1.00
	$damping 0.00
	$rotdamping 0.00
}
$collisiontext {
	break { "model" "props_junk/wood_crate001a_chunk01" "fadetime" "20" "offset" "0 9 0"}
	break { "model" "props_junk/wood_crate001a_chunk02" "fadetime" "20" "offset" "0 14 0"}
	break { "model" "props_junk/wood_crate001a_chunk03" "fadetime" "20" "offset" "0 -14 0"}
	break { "model" "props_junk/wood_crate001a_chunk04" "fadetime" "20" "offset" "0 -14 0"}
	break { "model" "props_junk/wood_crate001a_chunk05" "fadetime" "20" "offset" "0 14 0"}
	break { "model" "props_junk/wood_crate001a_chunk07" "fadetime" "20"}
	break { "model" "props_junk/wood_crate001a_chunk09" "fadetime" "20" "offset" "0 8 0"}
}