Fixed recording+location, latlng casts bugged

Also, second record broken even if cache isnt there