fixed button functions

[#44904383]