fixing bug when no class was set for captcha form widget