fix for #1040