fix DB_SOCKET