WHY DOES IT MAKE ME COMMIT EVERY TIME