bug fix for desktop