fixed constallation clearing plot on every iteration