fixed right button code