Sd card and Termocuple with MAX6675

I'm developping a logger and I want to recorder the temperature and humidity with DHT22 and another temperature from thermocuple K that comunicate through MAX6675 SPI.
Also SD comunicate with SPI.
I assigned chip-selector 4 for SD card and 5 for MAX6675. The MISO and clock are in parallel but the MAX6675 don't work. If I remuve the SD initialization ( SD.begin()) the MAX6675 works.
I think there samething in the bus SPI use that doesn't work.
Librery standard for SD and MAX6675.h for thermocouple.
Can someone give me a suggestion?
best regards