fixed $self-> typos