fix for #147