fixed a bug in tray icon