bugfix: element params in main view