change this to self

bug fix