using fog with ao and fake hdri image

hi

i have a current scene in work in which i have a fog.
when i want to use an image as a fake HDRI technicque with AO
than the fog/mist effect is away and i see the image in the background!
is it possible to use AO with an image plus having the mist effect?

claas