Fix LabRepository