fixed function name mistake