set default value on failed_attempts