Correcting for a value not set err, if not set do nothing per switch