I2c troubles

i have been trying to combine a adafruit sd shield and mpu-6050 so i can data log accelerameter and gyro info for a larger project. everthing works fine individually but currently ive been running into an issue getting I2C to work when i combine the 2 parts. if i try to run my code with the DS1307 RTC on the shield I2c will fail to initialize, but if i remove the RTC I2c will initalize but i need the RTC for my project.

heres serial print from 2 runs first is with the RTC in and the other RTC removed.

Initializing I2C devices...
Testing device connections...
MPU6050 connection failed
Initializing SD card...card initialized.
Logging to: LOGGER01.CSV
Initializing DMP...

Initializing I2C devices...
Testing device connections...
MPU6050 connection successful
Initializing SD card...card initialized.
Logging to: LOGGER02.CSV
Initializing DMP...
Enabling DMP...
Enabling interrupt detection (Arduino external interrupt 0)...
DMP ready! Waiting for first interrupt...
millis,stamp,datetime,yaw,x accel,y accel, z accel
1999, 1647031850, "2156/62/32 2:79:6", 180.00, 0, 0, 0
2999, 1647031850, "2156/62/32 2:79:6", 180.00, 0, 0, 0
3999, 1647031850, "2156/62/32 2:79:6", 180.00, 0, 0, 0...

It appears you must change one of the I2C addresses. Both the DS1307 and the MPU6050 may use 0x68 by default. You can change the MPU6050 I2C address to 0x69 and avoid that conflict. How you do that depends on the breakout board. The pin AD0 is used to determine the address. If AD0 is LOW, the address is 0x68. If AD0 is HIGH, the address is 0x69.

http://playground.arduino.cc/Main/MPU-6050

thank you. cant believe i didn't think of that.