fixed multiple space in button name failures