fixing a bug where a null reference might be used in the mile_splits method