fixed actions button handling