fix trace frame show problem