fix missing self reference