hack fix for duplicate button press