allowing storing NULL values for preferences