bugfix, not referenceing 'self'