cleaned ticket controller & flash updates