fixes #385