Fix yd conversion