fix repetition of buttons in form