check if allocation_pool_* is defined

and a bugfix
Merge pull request #352 from blueboxgroup/allocation-pool-start-fix

check if allocation_pool_* is defined