Typo fix
Code cleaning for CAPTCHA
Remove type hint for preAction argument
Fixes CAPTCHA issues