fiexed bug in the allocation routine