fix for #39