fix headers send (for Kohana >= 3.2)
fix captcha math module