closing plots broken