fixed deleteOldRides bug