fixed right click bug