bug fix - wrong function name