small improvements for desktop app