fix buttons in options dialog