QC compile error 'Unknown replace model'

Hello there.
This is my first time headhacking.
I’ve been getting this error whenever I try to compile a QC. It’s not a issue with the model.

qdir:    "e:\headhack\"
gamedir: "e:\steam\steamapps\gaben\half-life 2 episode two\ep2\"
g_path:  "E:\Headhack\mdldecompiler.qc"
Building binary model files...
Working on "mdldecompiler.qc"
SMD MODEL E:\Headhack/male_07_reference_headhack.smd
VTA MODEL E:\Headhack/mdldecompiler_expressions.vta
ERROR: e:\headhack\mdldecompiler.qc(182): - Unknown replace model 'male_07_reference'
ERROR: Aborted Processing on 'Humans\Group02	ale_07_Player_headhack.mdl'

Here’s my QC file.
And yes, the model called ‘tale’, not ‘male’.

Just remove strings from 181 to 204 which contains:

$lod 7
  replacemodel "male_07_reference" "lod1_male_07_reference"
$lod 14
  replacemodel "male_07_reference" "lod2_male_07_reference"
$lod 24
  replacemodel "male_07_reference" "lod3_male_07_reference"
$lod 35
  replacemodel "male_07_reference" "lod4_male_07_reference"
$lod 60
  replacemodel "male_07_reference" "lod5_male_07_reference"
  replacemodel "male_07_reference" "lod6_male_07_reference"

Problem solved. Thanks.