fixed duplicated graph and csv preview