fixes #490

Fixes #489