see #376