fix for #41