fix for refactoring ticket model