Fixed a duplicated function name