bug fix: buttons should be input of type button