Fix crash without settings