fixed spelling error on function name