resolve deprecation