button id bug fix