Fixed the GPS bad ratio & commented SD code