tweaks to resource allocator