fix ticket id auth bug