fix for #145