ui: fix session name overflow

fixes #353