fix for #45