correcting configuration with null values to return null