ticket view and part view now switching correctly