removed some unnecessary variable assignments
made ``value`` default to blank when button is a link