fix for #278