fix bug: rename function name to avoid confussion