fix ticket authenticate