Fixed bug with closing things because of a currentsetting[1] when there is no currentsetting 1