restored changes to trail-view