guarding against null values in applyConfiguration()