fix bug from turnstile