safer migration