Add settings validation to fix crashing errors.