AO map problem

I tried to make an AO map, but the resulted map is black with transparency where texture should be! any tips?