IR emitter and receiver problem

Hi all, I am a total noob to this field.
I am trying to make a line following robot using my Arduino Uno rev3 and I have made the IR sensor array with 5 IR emitter/detector pairs.
The problem is, I can't connect more than 3 sensors at once, it gives me "avrdude: stk500_getsync(): not in sync: resp=0x00" error and if i upload the code anyhow, the 4th and the 5th sensor gives me rubbish values or if i cover the 4th or 5th sensor from my finger, the serial ouput just stops right there and continues when i take my finger away.
Its always just only 3 inputs work.
I am using my laptops USB port.
Please help me out here