fix for #186