fixed function name error