before adding trk_data
image save fix