fixed issue with middle/right button