fix typo referring to self instead of this