Corrects wrong function call