Fix to problem with undefined settings