fix for https://github.com/jeeeyul/pde-tools/issues/36