Added null check for all gps information.