Hello, my circuit can't fully off

1. MOTOR 24V/2.5A 3600RPM (300Hz PWM)
2. R1 - 2N2222A(NPN) base
3. R2 - pull down (2n2222a)
4. R3 - pull up (IRLR024N)
5. R4 - gate for IRLR024N
6. C1 - kill ripple
my MCU is Atmega128, 16Mhz, prescale 1024
this is my code
it works, but when value=0 (OCRA1=0), it NOT FULLY OFF

1. MOTOR 24V/2.5A 3600RPM (300Hz PWM)
2. R1 - 2N2222A(NPN) base
3. R2 - pull down (2n2222a)
4. R3 - pull up (IRLR024N)
5. R4 - gate for IRLR024N
6. C1 - kill ripple
my MCU is Atmega128, 16Mhz, prescale 1024
this is my code
C:
TCCR1A=0x82;
TCCR1B=0x1D;
ICR1=49;
TCNT1 = 0x0000;
if(VALUE==0){
OCRA1=0;
}
else if(VALUE==1){
OCRA1=29;
}
else if(VALUE==2){
OCRA1=49;
}