# Bug DREAM-486 - Console Error: Missing target element "mobileLogo" for "auto-theme-switcher" controller when user has a custom OP Logo

Project: Stream Design System
Status: closed
URL: https://community.openproject.org/work_packages/DREAM-486

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 16.4.1 |
| Observed in versions | 16.4.0 |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) | 16.4.x |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable | Kabiru Mwenja |
| Product manager |  |
| Developers | Kabiru Mwenja |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

1.  Login as an admin user, with permissions to set Branding settings.
    
2.  Go to Administration &gt; Design &gt; Branding.
    
3.  Upload a custom logo (ensure you save your changes by clicking the &quot;+ Upload&quot; button).
    
4.  No need to upload one if you already have it.
    

### What is the buggy behavior?

In the console, the following error is logged:&nbsp;

```js
Error: Missing target element "mobileLogo" for "auto-theme-switcher" controller
```

There is however no noticeable user interface interruption

<br>

<img class="image_resized op-uc-image op-uc-image_inline" style="width:1367px;" src="/api/v3/attachments/783269/content">

###   

###   

###   

### What is the expected behavior?

No error is logged in the console

###   

**OpenProject version**

_v16.4_
