tweak to button behavior