fixes #494