avoid quit to show plot