remove deprecated method usage
remove deprecated method usage