fixes #393