Wifly shield with MicroSD shield

So i’m trying to get these things working together, but without a success. The problem im facing is that my aduino hangs on Wifly.begin(); afther restarting several times somehow iät can get pass that place but then it hangs on Wifly.join(); and even very rear occasions it gets past that but then usually the association to the network failes.

Everything works perfectly when i remove the microSD shield from the stack.

For wifly im using this library: https://github.com/bobbrez/WiFly

For microSD sheild: https://github.com/adafruit/SD

Anybody have some ideas? Any other ideas what librarys to use?

EDIT: Im using Arduino UNO and Arduino IDE 1.0

So the problem was in the micro SD card i was using. Bought a new one today and everything works!