fix for #268