Fix code to shorten in wood