fixes #38, wrong function name