fix for zero latitude and logitude and no limit on trail history