fixes for desktop notifications