small code fix in captcha generation (integer conversion)