repaired allocate_request