Fix view compat

- add test
- fix to not use reflection