fix dynamic graph when clicking on sequence