fix with parameters on buttons.