fix longest_trip initializatio in rake task