remove index key in distances table
Fix: Set the log delay to 0 to prevent confusion
Fix: Disable version-specific code if it cannot be run