problem in mate command

there is a flat face on to.sldprt i select that face and coincide with point during recording a macro but when i run the macro it is not selecting the right face.

in image 1 the face is selected that i need but in image 2 the face is selected that is not my requirement

SolidworksApi macros