DS18B20 problem with wiring

One more thing.. now that it worked, I uploaded the program, the serial monitor is giving me the following result:

Found '1-Wire' device with address:

0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFFCRC is not valid!

what could the reason be?