fix logo functionality