fixes #490