Fixed bug that caused whitescreen when deleted settings