Fixed the wrong function call.