patch fixes #89