fixed bug while creating captchas