deprecated fix

fix