fixed button on/off