added catch for when trip plan has missing point