added missing `self`

fixes #6, thanks to @skuroda