Fix Safari redirect