Translucency problem with static mesh when applied custom stencil depth mask

Having this weird problem on my 3d model when i used the custom stencil mask