added check if config item is null