fix missing self argument