fix a function call missed in the rename