make some fixes
Merge pull request #7 from marsteff/tui

make some fixes