fix trips controller