---
# System prepended metadata

title: Current UI bugs (v1 and v2)

---

# Current UI bugs (v1 and v2)
### Issue 1

****All issues have been moved to GitHub to better track***

`Error: [BigNumber Error] Argument not a primitive number: 18` 
- Showing up for v1 lending, Supply and borrow balance showing $0 for users. I've confirmed this myself below.
- Likely need `.toFixed(0)`  on a `BigNumber` somewhere according to Graham and x48

![](https://i.imgur.com/qqPhQxF.png)

I (Graham) have looked into this and the cause is we are passing decimals variable to toFixed but decimals is sometimes a string whereas toFixed wants a number.  The following change fixes this (see line 4441 of stores/store.jsx), but then there are further errors that I don't have time to investigate currently.

![](https://i.imgur.com/3lLA0ye.png)

Further errors to investigate after fixing decimals issue:

![](https://i.imgur.com/ulcqALI.png)



### Issue 2
Navigating directly to any subdomain of `v1.yearn.finance` such as `v1.yearn.finance/lending`, `v1.yearn.finance/stats`, etc. shows the following error message below, but clicking through homepage `v1.yearn.finance` is fine.

- According to x48, "probably a permissions error in cloudfrobt, ez fix"

![](https://i.imgur.com/Wr4snYD.png)

### Issue 3
`ProviderError: Origin “v1.yearn.finance” is not on whitelist`
- Haven't been able to reproduce myself yet, seems to be when users are connecting wallet to `v1.yearn.finance/vaults`

![](https://i.imgur.com/6R1kamj.jpg)

## Issues people mentioned last night (not sure if still current)

- Vaults page on v2 not loading, even with wallet connected and after hard refresh
- Mobile layout does not load properly