replace deprecated method calls