this is a fix for #1