same fix to safari extension