remove deprecated function call