fixes #40

noted in commits