fixing bug in button links