change deprecated method call