fixes #28 - callback returns None