Trying to add an overlay material that gives meshes an outline and im faced with a wierd issue

im want to add an overlay material outline that shows when players get close to the actor but as seen in the below screen shot of the overlay material, i followed a simple tutorial but the result were not as excpected and i do not know why can some ojne help please?