Fixing up flightaware code