fixed deprecated method names