lame workaround for #1150