bug fixed: segfault if no range defined for pool