fix for setupBlockVisual number buttons to work when parameter is a variable