Fixed wrong function call