Medbay rebuild fix