fixing some form issues with public checkbox