fix ticket controller