fix show_trail problem