fixes #408