fixed HOLD ON problem in plot