tidy up ticket views creation