fix: self is undefined