remove deprecated method call