fix for #282