legacy fix