Fix #296

xref #296