Fix gallery app when visitor is not connected