allow null servicelocator