Since you didn't have the ground connected on the male end you should check the female end to see how it was wired.