fix missing html attribute