fix when access _gps_log table from wrong DB