workaround for #916