clear deprecated function
fix desktop indicator not show