fix button_to method