fixed function name spelling