fixed databases to allow checkbox form submission