fixed the bug
merged with background disappearing graph problem