Fixed the Trip controller