fixed button spamming bug