fixes #405