fix allocation job