fix for boolean fields
change to class instead of id to work with firefox
forgot to render errors