fixed bug with graph saving only one variation.