UI fix

* fix for duplicated tabs
* PEP8