Fix lab,xyz tables