remove one of deprecated function