Fix bugs, create ticket pool