z combine edgle problem

i combine my two layer with z combine but it appers one edge around the foreground layer…i try to use color ramp, mix value and blur in alpha but it remain… is there a solution for this?