Fix OpenURL handler