fixes #400