fix function button bind