Fix minor issues with the labmanager