fix a bug: wrong function name