fix homepage when not connected