fixes #40