Lin-pot values not covering full range with SD card shield connected

Hello everyone! I'm new to all of this Arduino stuff so i'll try to describe the problem i'm having as best as I can.

I have an arduino clone that I got off of ebay. With a 10k lin-pot connected straight to the board I can run the sketch below and the values go between 0 and 1023 like they should.

/*
Analog Read with Serial Monitor
*/

void setup() {
// the setup routine runs once you press reset

Serial.begin(9600); // initialize serial communication at 9600 bits per second
}

void loop() {
int sensorValue = analogRead(A0); // read the input on analog pin 0

Serial.println(sensorValue); // print out the value you need

delay(1); // delay in between readings for stability
}

For my project i'm wanting to data log, so I purchased an adafruit data logging shield. I soldered the stacking headers and plugged it into the arduino, but when i try to run the same sketch as above the values only move between 230 and 250. I did run the CardInfo sketch in the SD examples to make sure all the connections for the SD card were good and it worked as it should. However one the connections for the pot in the stacking headers might still be bad (they all look good visually). Let me know what ya'll think, thanks.

Feel a little dumb but oh well, ya live and ya learn. The jumper wire from the pot to the analog pin was loose in the header. Moved it to a different pin and it works fine now.

Feel free to delete the thread if you want to.