remove deprecated function